CopyMovieSettings
TheCopyMovieSettings
function copies many settings from one movie to another, overwriting the destination settings in the process.
pascal OSErr CopyMovieSettings (Movie srcMovie, Movie dstMovie);
srcMovie
- Specifies the source movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie
,NewMovieFromFile
, andNewMovieFromHandle
(described on page 2-80, page 2-76, and page 2-78, respectively).dstMovie
- Specifies the destination movie for this operation. The
CopyMovieSettings
function uses the settings from the source movie, which is specified by thesrcMovie
parameter, to replace the current settings of this movie.DESCRIPTION
TheCopyMovieSettings
function copies the
If you want to work with specific characteristics, you can use the Movie Toolbox functions that allow you to manipulate movie settings individually. These functions are described in "Functions That Modify Movie Properties" beginning on page 2-142.
- preferred rate and volume
- source clipping region
- matrix information
- user data
This function does not copy the movie's contents. To work with movie contents, you should use the segment editing functions described in "Low-Level Movie-Editing Functions" beginning on page 2-240.
ERROR CODES
Memory Manager errors
invalidMovie -2010 This movie is corrupted or invalid